<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Gets the timestamp of the first sample from rrd file</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.rrd-first" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">rrd_first</h1>
  <p class="verinfo">(PECL rrd &gt;= 0.9.0)</p><p class="refpurpose"><span class="refname">rrd_first</span> &mdash; <span class="dc-title">Gets the timestamp of the first sample from rrd file</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.rrd-first-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>rrd_first</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$file</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$raaindex</code><span class="initializer"> = 0</span></span>
  ] ) : <span class="type">int</span></div>

  <p class="para rdfs-comment">
   Returns the first data sample from the specified RRA of the RRD file.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.rrd-first-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<code class="parameter">file</code></dt>

    <dd>

     <p class="para">
      RRD database file name.
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">raaindex</code></dt>

    <dd>

     <p class="para">
      The index number of the RRA that is to be examined. Default value is 0.
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.rrd-first-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Integer number of unix timestamp, <strong><code>FALSE</code></strong> if some error occurs.
  </p>
 </div>


</div></div></div></body></html>